package com.mall4j.cloud.auth;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author FrozenWatermelon
 * @date 2020/7/8
 */
@SpringBootApplication(scanBasePackages = { "com.mall4j.cloud" })
@EnableFeignClients(basePackages = {"com.mall4j.cloud.api.**.feign"})
public class AuthApplication {

	private static final Logger LOGGER = LoggerFactory.getLogger(AuthApplication.class);

	public static void main(String[] args) {
		try {
			SpringApplication.run(AuthApplication.class, args);
		}catch (Exception e) {
			LOGGER.error(e.getMessage(),e);
		}
	}

}
